da599396d0581c113dba72b33f811c2a0d18ec9b,netconf/netconf-topology-singleton/src/test/java/org/opendaylight/netconf/topology/singleton/impl/tx/WriteOnlyTransactionTest.java,WriteOnlyTransactionTest,testPutMergeDeleteCalls,#,136

Before Change


        // Test of invoking delete on master through slave proxy

        doNothing().when(writeTx).delete(storeType, instanceIdentifier);
        slaveDataBroker.newWriteOnlyTransaction().delete(storeType, instanceIdentifier);

        verify(writeTx, times(1)).delete(storeType, instanceIdentifier);

After Change


        // Test of invoking delete on master through slave proxy

        doNothing().when(writeTx).delete(storeType, instanceIdentifier);
        wTx = slaveDataBroker.newWriteOnlyTransaction();
        wTx.delete(storeType, instanceIdentifier);
        wTx.cancel();

        verify(writeTx, times(1)).delete(storeType, instanceIdentifier);